Mesh network resiliency

ABSTRACT

Mesh network resiliency technology, in which a first routing configuration for nodes of a mesh network is determined, the first routing configuration being appropriate when a first power source of the mesh network is available. Routing data that indicates routing responsibilities within the first routing configuration is provided to first nodes of the mesh network. An interruption of the first power source for the mesh network is detected by nodes of the mesh network. In response to detecting the interruption, a second routing configuration for nodes of the mesh network is determined, the second routing configuration being appropriate when the first power source of the mesh network is unavailable. Routing data that indicates routing responsibilities within the second configuration is provided to second nodes of the mesh network, each of the second nodes including a second power source that is different than the first power source.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation (and claims the benefit of priorityunder 35 USC 120) of U.S. application Ser. No. 14/216,204, filed Mar.17, 2014, now allowed, which claims the benefit of U.S. ProvisionalApplication No. 61/790,493, filed Mar. 15, 2013. Both of these priorapplications are incorporated by reference in their entirety.

TECHNICAL FIELD

This disclosure relates to mesh network resiliency during power outages.

BACKGROUND

Mesh networks are becoming increasingly common and increasinglyimportant for home monitoring and home automation. These networks mayinclude a mixture of battery-powered nodes, AC-powered nodes, nodes thatare AC-powered with battery backups, and nodes that are AC-powered withuninterruptable power supplies. Currently, mesh networks that aretypically utilized in applications of home monitoring and homeautomation are not configured to respond effectively to AC powerfailures.

SUMMARY

Techniques described herein relate to mesh network resiliency duringpower outages.

Implementations of the described techniques may include hardware, amethod or process implemented at least partially in hardware, or acomputer-readable storage medium encoded with executable instructionsthat, when executed by a processor, perform operations relating to thedescribed techniques.

The details of one or more implementations are set forth in theaccompanying drawings and the description. Other features will beapparent from the description and the drawings.

DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an example system; and

FIGS. 2-4 are diagrams illustrating examples of mesh network resiliency.

DETAILED DESCRIPTION

Techniques are described for addressing mesh network resiliency duringpower outages. FIG. 1 illustrates an example of a mesh network that maybe used, for example, in a home monitoring or home automation system. Asystem may include a mesh network 100 configured to perform functionsassociated with at least one component of the system. The mesh network100 may include at least one interacting node 105 and at least onerouting node 110. Each interacting node 105 and routing node 110 may beassociated with one or more components 115 of a home monitoring or homeautomation system, or any combination of interacting nodes 105 androuting nodes 110 may be associated with any component 115 of thesystem. Functionally, one or more of interacting nodes 105 may be thesame or similar in design and/or capability as one or more routing nodes110 and one or more interacting nodes 105 may be different in designand/or capability as one or more routing nodes 110. In implementationsin which some or all of the interacting nodes 105 are the same orsimilar in design and/or capability of the routing nodes 110, one ormore interacting nodes 105 may be designated or identified as one ormore routing nodes 110, and one or more routing nodes 110 may bedesignated or identified as interacting nodes 105. Accordingly, in someimplementations, the set of one or more interacting nodes 105 includesthe set of one or more routing nodes 110.

Each of the interacting nodes 105 and routing nodes 110 may communicateor otherwise transfer data to one or more interacting nodes 105 and/orrouting nodes 110 through one or more routing nodes 110 that overallconstitute a mesh network 100. Communication or data transfer in themesh network 100 may occur by any wired or wireless method or protocol,including, for example, an Ethernet network, public switched telephonenetwork (PSTN), power line network, local area network (LAN), wirelesslocal area network (WLAN), Bluetooth, Z-Wave, ZigBee, INSTEON, localwireless 900 MHz communication band, 6LoWPAN, etc. Each interacting node105 and/or routing node 110 includes an association with at least onecomponent 115 of the home monitoring or home automation system, as wellas at least one power source 120, where the power source may comprise anAC power source, a battery power source, an AC power source with batterybackup, an AC power source with external uninterruptable power supply,or any other power source or combination of power sources. Components115 of the home monitoring or home automation system may include, forexample, one or more security panels, door locks, window locks, cameras,video cameras, motion sensors, temperature sensors, noise sensors,humidity sensors, or any other detection, monitoring, or actuationdevice, as well as any of one or more switches, control panels,thermostats, sump pumps, or other home appliance or utility controldevices.

According to some implementations, a determination may be made as towhich nodes of a mesh network 100 are equipped with backup power sourcesand/or what type of backup power sources nodes are equipped with, forexample, battery backup sources or external uninterruptable powersupplies. In some examples, the determination may be made by aninstaller of a mesh network 100 at the time of system installation andreceived as input by a component of the mesh network, for example, atthe time when a home monitoring or home automation system is installed.Such an implementation may be problematic, as an installer mayinappropriately indicate which nodes of a mesh network 100 are equippedwith backup power sources, and/or what types of backup power sourcesvarious nodes of the mesh network 100 are equipped with.

As an alternative to manually indicating whether certain nodes of a meshnetwork 100 are equipped with backup power sources and/or what type ofbackup power sources the nodes are equipped with, the system mayinitiate a whole system AC power failure, subsequently restore AC power,and determine if each node ceased operating during the power failure.For example, a whole-home power failure of a home monitoring or homeautomation system can be initiated by switching a main circuit breakerfor the system, subsequently restoring power to the main circuit, andquerying the uptime for each node of the mesh network 100. In such animplementation, nodes that have been functional since before the powerfailure may be identified as battery powered nodes or nodes equippedwith a battery backup power source. By using such an approach, thesystem may have a greater confidence level regarding the type of powersource and/or backup power source each node of mesh network 100 isequipped with.

In some examples, resiliency of a mesh network 100 is achieved byconfiguring the network in such a manner that only those nodes that areequipped with an AC power source and a battery backup power source aredesignated as routing nodes 110. In such an implementation, one or morenodes of mesh network 100 that are equipped with a battery backup powersource are designated as routing nodes 110 of the mesh network 100 ofthe home monitoring or home automation system. Interacting nodes 105that are not equipped with a battery backup power source, for examplethose nodes that are only powered by an AC power source without a backupand/or nodes equipped only with battery power sources, may not bedesignated as routing nodes 110.

During a power failure, routing nodes 110 of mesh network 100 mayutilize backup power sources in order to continue signal routing duringthe power failure. According to some implementations, routing nodes 110may automatically engage a backup power source in order to maintainfunctionality of the routing nodes 110 during the power failure, and mayautomatically disengage the backup power source upon detecting an end ofthe power failure (e.g., when an AC power source is restored). Byutilizing only nodes equipped with both an AC power source and a batterybackup power source as routing nodes 110, communication or data transferin the mesh network 100 can be maintained during a power failure tonodes of mesh network 100 that are equipped with a battery power sourceand/or that are equipped with an AC power source and a backup powersource, for example, a battery backup power source or externaluninterruptable power supply.

Additionally, in some implementations, nodes of the mesh network 100 canenter a reduced power state based on determining that a power failurehas occurred. For example, based on determining that a power failure hasoccurred, data can be transmitted to one or more nodes of the meshnetwork 100 that cause the nodes of the mesh network 100 to enter areduced power operating mode. By operating under a reduced power mode,the nodes of the mesh network 100 may extend the amount of time that thenodes can operate using backup power sources. For example, one or morenodes of the mesh network 100 that are equipped with a battery powersource and/or that are equipped with an AC power source and a batterybackup power source can enter a reduced power operating mode in order toextend the life of the battery power source and/or battery backup powersource during a power failure. In some instances, all or a subset of thenodes of the mesh network 100 can enter a reduced power mode, forinstance, one or more routing nodes 110 of the mesh network 100 and/orone or more interacting nodes 105 of the mesh network 100.

A mesh network 100 associated with a home monitoring or home automationsystem may be configured at the time of installation in such a mannerthat only nodes that feature an AC power source and a battery backuppower source are utilized as routing nodes 110. According to someimplementations, determining specific nodes to utilize as routing nodes110 may be performed by an installer of a system, such as a homemonitoring or home automation system, since the interacting nodes 105 ofmesh network 100 would not be capable of detecting the presence of abattery backup power source during operation. In such an implementation,the designated routing nodes 110 of mesh network 100 may be the routingnodes 110 of the mesh network 100, both when a system power state is astate in which an AC power source is available and when the system powerstate is a state in which an AC power source is not available.

In some implementations, the routing nodes 110 of the mesh network 100store multiple (e.g., two or more) sets of routing configurations at alltimes. In these implementations, the sets of routing configurations maybe ranked and a routing node may attempt to use the highest rankedrouting configuration first in attempting to send a communication in themesh network 100. If the highest ranked routing configuration fails, therouting node cycles through the other routing configurations inaccordance with the rankings until the communication is successful orall routing configurations have been attempted without success. Forexample, the routing nodes 110 of the mesh network 100 may store aprimary routing configuration and a secondary routing configuration. Inthis example, when the primary routing configuration fails, the routingnodes 110 of the mesh network 100 automatically switch to the secondaryrouting configuration upon detecting the failure. By switching betweenrouting configurations upon failure, the routing nodes 110 may not haveto detect power failures reliably and may be able to respond to othertypes of failures.

According to another innovative feature of the described subject matter,the system of mesh network 100 may be programmed with a set of tworouting topologies and may be capable of detecting a power failureand/or power restoration in mesh network 100. Using power detectioncapabilities, a system may be programmed to recognize two system statesof mesh network 100, a first state associated with an availability of ACpower, and a second state associated with an AC power failure. Toenhance mesh network resiliency during a power failure event, the meshnetwork 100 may be configured in such a way that, when AC power isavailable to the system, the mesh network 100 implements a first routingmode associated with the first system state and a first network routingtopology, and when mesh network 100 detects that AC power is notavailable to the system, the mesh network 100 implements a second,different routing mode associated with the second system state and asecond, different network routing topology. According to someimplementations, a first routing mode associated with the first systemstate and the first routing topology may utilize only nodes equippedwith an AC power supply and/or nodes equipped with an AC power supplyand a battery backup power source as routing nodes 110. In theseimplementations, a second routing mode associated with the second systemstate and the second routing topology may utilize only nodes equippedwith a battery power source and/or a battery backup power source asrouting nodes 110.

Upon detecting a change of state in the system of mesh network 100, thesystem operating in one of the two routing modes may, in response todetecting the change of state, switch the operating mode of the systemto the other operating mode of the system. For example, a mesh network100 operating under a system state in which AC power is available andthus is using a first routing mode may, upon detecting a power failure,determine that the system is now in the second system state, and, inresponse to detecting the change of state, switch the routing mode to asecond routing mode. Similarly, the system of some implementationsoperating under the second system state in which AC power is notavailable and thus using a second routing mode may, upon detecting arestoring of AC power, determine that the system is now in the firstsystem state, and, in response to detecting the change of state, switchthe routing mode to a first routing mode.

To determine that a change of system state has occurred, the system mayuse one or more methods to determine that a change has taken place andthat the routing mode of mesh network 100 should also be changed.According to some implementations, one node of the interacting nodes 105within mesh network 100 may be utilized for determining that a systemstate change has occurred and for initiating a process to change therouting mode of mesh network 100. In some instances, the node delegatedto perform these operations may be termed a “coordinator node” and mayperform these operations exclusively or perform these operations inaddition to other operations. For example, the coordinator node may bean interacting node 105 of the system that is also a routing node 110,or may be an interacting node 105 that is not a routing node 110 butthat is able to communicate or transfer data to and from a routing node110. In order to function as a coordinator node of mesh network 100, theinteracting node 105 may be equipped with an AC power source with abattery backup power source. The coordinator node of mesh network 100may also be capable of determining the AC power state within the system,e.g., it may not be an interacting node 105 equipped with an AC powersource and an external uninterruptable power supply, as a node with anexternal uninterruptable power supply may not be capable of determiningthat changes in an AC power state have occurred, even when, for example,a power failure event has taken place. For applications in which thesystem is a home monitoring or home automation system, the mesh network100 associated with the system may use an interacting node 105 at asecurity panel or control panel as the coordinator node, or may use anyother interacting node 105 within the system that satisfies the criteriafor a coordinator node.

Upon determining that a change of system state has occurred, thecoordinator node of the mesh network 100 may initialize a change ofrouting mode of the mesh network 100 by, for example, sending a messageor messages to one or more interacting nodes 105 and routing nodes 110.The message or messages sent by the coordinator node may be a commonmessage for all interacting nodes 105 and routing nodes 110, may be aunique message for each of the interacting nodes 105 and routing nodes110, or may be any combination of common and unique messages.

According to some implementations, a coordinator node may send a messageor messages indicating that a system state has changed and that therouting mode of the system must also change in response to the change ofsystem state. Additionally or alternatively, the message or messagessent to interacting nodes 105 and routing nodes 110 by the coordinatornode may be a message that is specific to each of the interacting nodes105 and routing nodes 110, for example, an indication that a specificinteracting node 105 should function as a routing node 110, or shouldnot function as a routing node 110.

The message or messages sent to the interacting nodes 105 and routingnodes 110 of mesh network 100 may, additionally or alternatively,indicate that certain interacting nodes 105 of mesh network 100 shouldnot be routed to when the system is operating in a particular routingmode. For example, upon determining that a system state is a secondsystem state in which AC power is not available, a coordinator node maysend a message or messages to interacting nodes 105 and routing nodes110 of mesh network 100 indicating that certain nodes should not berouted to for the particular routing mode. According to someimplementations, such a message may be transmitted because some of theinteracting nodes 105 and/or routing nodes 110 of mesh network 100 arenot equipped with a backup power source, causing these nodes to bepowered down during a system state in which AC power is not available.By avoiding routing to interacting nodes 105 that are not equipped witha backup power supply, the system may enable one or more routing nodes110 that are operating on backup power supplies to operate for a longerperiod of time than if they routed to these nodes, by conserving powerthat would otherwise be used to route to nodes that are powered off.

In some implementations, the mesh network 100 uses “source routing” inwhich a sending node determines the full path to the destination node,not just the next hop. For instance, the mesh network 100 may be az-wave network that uses source routing. In these implementations, acoordinator node (e.g., a node associated with a control panel) may beassigned and, if the coordinator node is able to determine a failure(e.g., a power failure) and has knowledge of alternative routes, thecoordinator node may not need to update routing tables on all the othernodes in order to communicate with them. For example, to use analternative routing configuration, the coordinator node may send apacket with the correct sequence of nodes for the alternative routingconfiguration. In this example, the routing nodes 110 (e.g., z-wavenodes) may reply back along the same route, and remember that route(temporarily) as the best route. Accordingly, the coordinator node maysend a packet to each node along the alternative routing configuration(e.g., a routing configuration established to best maximize usage ofbattery-powered nodes) at the time of a power failure, and the otherrouting nodes 110 would all use the new routes automatically. Then, whenthe power is restored, the coordinator node may send a packet to eachnode along the primary routing configuration (e.g., a routingconfiguration established to best maximize usage of AC-powered nodes) toget the routing nodes 110 back into the primary routing configuration.

In another implementation, a mesh network 100 of a system can determinethat a change of system state has occurred based on messages sent bymore than one interacting node 105 within mesh network 100 and canutilize a voting process to determine if a change of routing mode shouldbe initialized. According to some implementations, mesh network 100 canagain be programmed with a set of two potential routing topologies: afirst routing topology associated with a first system state in which ACpower is available, and a second routing topology associated with asecond system state in which AC power is not available. In someinstances, each interacting node 105 or routing node 110 that detects achange of state within the system, for example a power failure event ora power restoration event, can broadcast that detection by sending oneor more messages within mesh network 100. Each interacting node 105equipped with an AC power source and a battery backup source can then,in some instances and in response to receiving a change of state messagefrom one or more interacting nodes 105 and/or routing nodes 110, detectwhether a change of state has occurred, and if that node does not detecta change of state, can subsequently broadcast a message indicating thatfact. Based on the messages sent and received by interacting nodes 105and/or routing nodes 110 of mesh network 100, the mesh network 100 canutilize a voting process to determine a consensus on whether the routingmode of the system should be changed.

For example, a mesh network 100 operating in a first routing modeassociated with a system state in which AC power is available mayexperience a power failure event. In response to the power failureevent, interacting nodes 105 and routing nodes 110 of mesh network 100that are capable of functioning without AC power (e.g., using a backuppower source) may then transmit one or more messages indicating that apower failure event has been detected. In response to receiving one ormore messages indicating that a power failure event has occurred, ACpowered nodes with battery backup power sources may determine if a powerfailure event has occurred, and if one such node does not detect a powerfailure event, may transmit one or more messages indicating that a powerfailure event has not been detected by that node. A voting process canthen utilize information from the messages and, based upon the messages,determine if the system should respond to the detected power failureevent, for example, by switching the routing mode of the mesh network100 to a second routing mode associated with a second system state inwhich AC power is not available.

According to some implementations, the voting process may additionallyconsider a lack of messages from interacting nodes 105 and/or routingnodes 110 that are not equipped with backup power sources in the eventof a change of system state. For example, interacting nodes 105 that areequipped only with an AC power source may not be capable of transmittinga message indicating a power failure in the event of such a failure. Inthese instances, a voting process may consider the lack of messagesreceived from these nodes as an indication that a power failure eventmay have occurred, and utilize this in determining a consensus and asystem response.

Using a voting process method as described, the system may, whenswitching routing modes from one routing mode to a different routingmode, temporarily become a disjointed mesh network until the switchinghas been completed. For example, a mesh network 100 operating in a firstrouting mode may utilize a routing topology in which at least somerouting nodes 110 are AC powered nodes or AC powered nodes with a powersource backup. The mesh network 100 may then determine that a powerfailure event has occurred and may initialize a process to switch therouting mode of the system to a second routing mode and a second routingtopology in which at least some routing nodes 110 are battery powerednodes or AC powered nodes with backup power sources. During the processof switching from the first routing mode to the second routing mode,mesh network 100 may temporarily become a disjointed mesh network untilthe switching process has been completed, when the system will thenoperate in the second routing mode.

According to another innovative feature of the subject matter describedherein, a system such as a home monitoring or home automation systemcomprising a mesh network 100 may be capable of dynamicallyrediscovering potential mesh network topologies upon detecting a changeof system state. As described, the system may be capable of detecting apower state of the system. For example, one or more interacting nodes105 and/or routing nodes 110 of mesh network 100 may be capable ofdetecting if AC power is available or if AC power is not available tothe system. Upon detecting a change of system state or any other eventthat impacts routing within mesh network 100, mesh network 100 maydynamically change the routing of mesh network 100, for example, inorder to maintain routing within mesh network 100. According to someimplementations, dynamic rerouting of mesh network 100 may occur byrebuilding a routing table that dictates how routing is accomplishedwithin mesh network 100.

The system may benefit from a mesh network 100 that is capable ofdynamic network rerouting by avoiding additional pre-programming at thetime of installation of the system, where the system may be a homemonitoring or home automation system. Avoiding such pre-programming maybe beneficial by, for example, reducing the amount of effort required toconfigure the system at the time of installation. Additionally oralternatively, avoiding preprogramming of the system may be beneficialby avoiding errors that may occur in the programming of mesh network 100at the time of installation, for example, an error in programming one ormore routing modes that results in the mesh network 100 not being ableto route during a particular system state, or errors associated withproperly determining the type of power source associated with one ormore particular interacting nodes 105 and/or routing nodes 110.

In some instances, the mesh network 100 may be configured at times otherthan when a change of system power state is recognized, for example, atperiodic or specific times, or when other changes are detected withinthe system, such as detecting that one or more interacting nodes 105and/or routing nodes 110 are no longer functioning. The system may becapable of responding to such events by dynamically rediscovering therouting of mesh network 100 in order to maintain routing of the network.For example, in a system state in which AC power is not available, oneor more interacting nodes 105 and/or routing nodes 110 utilizing batterypower may stop functioning as the battery power sources are exhausted.In response to detecting that the one or more interacting nodes 105and/or routing nodes 110 are no longer functioning, the system mayrespond by, for example, determining that the one or more interactingnodes 105 and/or routing nodes 110 are no longer functioning and maydetermine a new routing topology of mesh network 100.

In some instances, the mesh network 100 may be a large mesh network withmany interacting nodes 105 and/or routing nodes 110. In such a system,it is reasonable to expect that performing dynamic network rediscoverymay be a time consuming process or a process that utilizes considerablepower and/or energy. As a result, according to some implementations, theuse of dynamic network rediscovery may be best suited for smaller meshnetworks, with other methods of mesh network routing and of maintainingmesh network resiliency being more efficient for larger networks. Insuch instances, a choice to utilize one method of routing may be made bythe installer at the time of installation, or may be determined in anyother way.

According to some implementations, the method of dynamic mesh networkrediscovery may require that nodes be capable of determining a currentsystem power state, for example, determining that a system is in an ACpower available system state or an AC power unavailable system state. Inorder to determine the state of the system, the system may designate aninteracting node 105 and/or routing node 110 of mesh network 100 as acoordinator node, where the coordinator node may be an AC powered nodewith a battery backup power source and where the coordinator node may beaware of the power state of the system. In such an instance, thecoordinator node may operate as described above in order to determine asystem power state and to initialize a dynamic rediscovery of potentialmesh network topologies based on the determined power state. Accordingto another implementation of the described system, the system mayutilize a voting process and messages broadcast from one or moreinteracting nodes 105 and/or routing nodes 110 in mesh network 100, asdescribed above, in order to determine a system power state andinitialize a dynamic rediscovery of potential mesh network topologiesbased on the determined system power state.

According to some implementations, one or more interacting nodes 105 ofmesh network 100 may be identified as interacting nodes 105 associatedwith critical components of the system. For example, a system comprisinga mesh network 100 may be a home automation or a home monitoring system,and one or more interacting nodes 105 associated with door locks, sumppumps, or thermostats, to name a few, may be identified as criticalinteracting nodes 105 of the mesh network 100. In some instances, thesenodes may be equipped with battery power sources, for example, they maybe equipped only with battery power sources or with AC power sources andbattery backup power sources. In order to avoid the interacting nodes105 identified as critical nodes from depleting battery power sourcesand becoming non-functional, either during a system power state where ACpower is available but the critical nodes still operate using batterypower or during a system power state in which AC power is not availableand the critical nodes are operating using backup battery power, thesystem may prevent and/or best avoid the use of interacting nodes 105identified as critical nodes as routing nodes 110. According to someimplementations, if a mesh network 100 is configured in such a way thatthe mesh network 100 become disjointed if an interacting node 105identified as a critical node is not used as a routing node 110, thesystem may utilize the critical node as a routing node 110 by, forexample, automatically or manually overriding the identification of theinteracting node 105 as a critical node so that the node may operate asa routing node 110.

According to some instances, as systems of mesh networks 100 areinstalled and/or updated with new technologies, it is possible that meshnetworks 100 may comprise interacting nodes 105 that are aware of thesystem power state (e.g., newer nodes) and other interacting nodes 105that are not aware of the system power state (e.g., older nodes). Insuch an instance, it may be the case that pre-programming a mesh network100 with two potential routing modes and switching between the routingmodes in response to the system power state may not be a functionalsolution to responding to changes in the system power state.

In some instances, one of several approaches may be used to addresschanges in a system power state when a mesh network 100 is a mixednetwork of interacting nodes 105 that are capable of determining a powerstate and interacting nodes 105 that are not capable of determining asystem power state.

According to some implementations, for example, systems may utilize meshnetworks 100 that only utilize interacting nodes 105 equipped with ACpower supplies and battery backups, as described.

Additionally or alternatively, according to some implementations,systems may utilize a mesh network 100 in which the interacting nodes105 of the network are preprogrammed with a set of two potential routingmodes, and use this method in combination with a method in which atleast some interacting nodes 105 of mesh network 100 are capable ofperforming dynamic discovery of routing topologies. In such instances, amesh network 100 may have interacting nodes 105 and/or routing nodes 110that are capable of determining a system power state programmed with aset of two routing topologies for mesh network 100, associated with afirst system state in which AC power is available and a second systemstate in which AC power is not available. The interacting nodes 105and/or routing nodes 110 that are capable of determining a change ofsystem state may then initialize the transmission of one or moremessages to switch the operating mode of the mesh network to a differentoperating mode and/or may initialize a dynamic rediscovery of routingtopologies within mesh network 100 in order to change routing withinmesh network 100 to address the change of system power state.

Additionally or alternatively, according to some implementations,systems may utilize a mesh network 100 in which the interacting nodes105 and/or routing nodes 110 of the network are capable of dynamicallyrediscovering routing topologies within network 100. In such animplementation, the system may utilize a coordinator node to determinethat a system state change has occurred or may exclude interacting nodes105 and/or routing nodes 110 that are not capable of determining asystem power state from being considered by a voting process todetermine if a system power state change has occurred. For example, amesh network 100 featuring at least some interacting nodes 105 and/orrouting nodes 110 that are capable of determining a system power stateand at least some interacting nodes 105 and/or routing nodes 110 thatare not capable of determining a system power state may designate onenode that is capable of determining the system power state, and utilizethat node as a coordinator node to determine the system power state, anddepending upon the system power state and whether a change of systempower state has occurred, may initialize a dynamic rediscovery ofrouting topologies within mesh network 100. According to anotherexample, only interacting nodes 105 and/or routing nodes 110 of meshnetwork 100 that are capable of determining a system power state may,upon detecting a change of system power state, transmit one or moremessages indicating that the node has detected a change of system powerstate, and one or more other messages may subsequently be sent and/orreceived, as described, in order to determine a consensus of whether achange of system power state has occurred. In response to the one ormore messages sent by interacting nodes 105 and/or routing nodes 110, avoting process may determine that a system power state change hasoccurred, and may initialize a dynamic rediscovery of routing topologieswithin mesh network 100.

According to some implementations, some interacting nodes 105 and/orrouting nodes 110 of a mesh network 100 may transmit unsolicitedmessages to one or more other interacting nodes 105 and/or routing nodes110 within mesh network 100. In order to conserve power and/or energy,specifically for interacting nodes 105 and/or routing nodes 110 that areequipped only with battery power sources or are equipped with an ACpower source and a battery backup power source that is used when thesystem is in a power state in which AC power is not available, thesystem may track (i) interacting nodes 105 and/or routing nodes 110 thatare equipped with battery power sources (either exclusively or as backuppower sources), and (ii) nodes that have not responded to oracknowledged previous messages. For example, the system may trackinteracting nodes 105 and/or routing nodes 110 that are believed to befailed nodes, wherein a failed node may be determined based on the nodenot responding to or acknowledging a prior message sent to the node.Based on certain interacting nodes 105 and/or routing nodes 110 beingidentified as nodes presently operating using battery power sources, themesh network 100 may prevent messages from being sent to failed nodes,thus conserving the power and/or energy that may be required to sendthose messages to failed nodes. According to some implementations, alist of failed nodes may be created and updated, for example, during aprolonged power outage as nodes equipped with battery power sourcesexhaust their power supplies and become failed nodes.

According to some implementations, the system may attempt to avoid atransient node failure from disabling a node by identifying aninteracting node 105 and/or routing node 110 of mesh network 100 as afailed node based on the node failing to respond to or acknowledgemultiple, consecutive messages sent to the node. Additionally oralternatively, the system may attempt to send one or more messages to anode identified as a failed or potentially failed node, to ensure thatthe node was not a transiently failed node. For example, a system mayattempt to send a message to an interacting node 105 identified as afailed node or a potentially failed node periodically (e.g., every 30seconds), or may attempt to send a subset of messages (e.g., using 20%of messages) to the failed or potentially failed node. According to someimplementations, if the interacting node 105 and/or routing node 110identified as a failed or a potentially failed node responds to oracknowledges the one or more messages, the system may identify that theinteracting node 105 is not a failed or potentially failed node.

FIG. 2 illustrates an example routing implementation of a mesh network200, in which the mesh network 200 may be related to a system for homemonitoring or home automation. According to one example, the meshnetwork 200 of FIG. 2 can feature a routed network of nodes comprisingnodes associated with a home monitoring or home automation control panel205, switch 215, lock 225, and thermostat 235. The node 205 associatedwith a control panel may feature an AC power source with battery backup,the node 215 associated with a switch may feature only an AC powersource, the node 225 associated with a lock may feature only a batterypower source, and the node 235 associated with a thermostat may featureonly a battery power source. Based on the example mesh network 200,routing topologies for each of three methods for addressing mesh networkresiliency may be determined to enable data routing within the meshnetwork 200. For example, routing topologies for the mesh network 200may enable data routing from the node 205 associated with the controlpanel to the node 225 associated with the lock, or from any other nodeof the mesh network 200 to another node of the mesh network 200.

Using a method of routing for mesh network 200 in which only nodes withan AC power source and a battery backup power source are utilized forrouting, routing may only occur through node 205 associated with thecontrol panel. For example, when AC power is available to the meshnetwork 200, node 205 may be used as a routing node to route databetween nodes 215 and 235. That is, the data would travel through routeA and route B. Node 225 associated with a lock would not be routed insuch an implementation, as node 225 is not equipped with both an ACpower source and a battery backup power source, therefore the route fromnode 215 through node 225, using routes C and D, would not be a validdata routing pathway. Furthermore, when the system is in a power statein which AC power is not available, routing may only occur using routeB, since node 215 will not be functional, being equipped only with an ACpower source, and since node 235 is not a valid routing node, beingequipped with only a battery power source. In such an instance, nodes215 and 225 will not be connected, since routes A, C, and D will not bevalid routes of the mesh network 200.

Alternatively, mesh network 200 may be programmed with a set of tworouting topologies and may be capable of determining the power state ofmesh network 200. In this implementation, mesh network 200 may beprogrammed in such a way that when AC power is available to the meshnetwork 200, routing in mesh network 200 may occur through routes A, B,and C, since each of nodes 205, 215, and 235 is associated with an ACpower source or battery power source. Since the node 225 associated witha lock may be identified as a critical node, and thus should not be usedfor routing when possible, the specific routing of mesh network 200 maybe selected to exclude the node 225 from operating as a routing node. Inaddition, mesh network 200 may be programmed in such a way that, whenthe system determines that the mesh network 200 is in a state in whichAC power is not available, routing in mesh network 200 may occur throughroutes B and D. Since node 215 associated with a switch is only ACpowered, this node will not be active when mesh network 200 is in astate in which AC power is not available. Furthermore, since node 215will not be active when AC power is absent, routing through node 225provides no advantages, and therefore node 225 will not be designated asa routing node of the mesh network 200.

According to a third implementation, mesh network 200 may be capable ofdynamically rediscovering potential mesh network topologies upondetecting a change of system state. In this implementation, mesh network200 may be routed using any number of topologies while mesh network 200is in a system state in which AC power is available. For example, whenmesh network 200 has AC power available, data may be routed throughroutes A, B, C, and/or D. Upon determining that the mesh network 200 hasentered a state in which AC power is not available, the mesh network 200may dynamically reroute the mesh network 200. For example, a rediscoveryprocess initialized based on determining that AC power to the meshnetwork 200 has been lost may determine that node 235 associated withthe thermostat is a possible routing node and may route data throughthat node, for example, from node 205 to node 225 through routes B andD. The rediscovery process may further result in determining that node215 is not functioning after the loss of AC power, and routing to orthrough node 215 may be eliminated, thereby invalidating routes A and Cas possible routes within the mesh network 200.

FIG. 3 illustrates an example routing implementation of a mesh network300, in which the mesh network 300 may be related to a system for homemonitoring or home automation. In some examples, the mesh network 300 ofFIG. 3 can feature a routed network of nodes comprising nodes associatedwith a home monitoring or home automation control panel 305, a lock 315,a first switch 325, a thermostat 335, and a second switch 345. The node305 associated with a control panel may feature an AC power source withbattery backup, the node 315 associated with a lock may feature only abattery power source, the node 325 associated with a first switch mayfeature an AC power source with an external uninterruptable powersupply, the node 335 associated with a thermostat may feature only abattery source, and the node 345 associated with a second switch mayfeature an AC power source with an external uninterruptable powersupply. Based on the example mesh network 300, routing topologiesaddressing mesh network resiliency may be determined. For example,routing topologies may be determined that enable the node 305 associatedwith the control panel to communicate with any of nodes 315, 325, 335,or 345 of the mesh network 300.

For the mesh network configuration illustrated in FIG. 3, networkrouting may be configured to only route data through nodes with backuppower sources and/or configured to only route data through nodes that donot perform vital functions. For example, the node 315 associated with alock may be identified as a critical node of the mesh network 300 thatperforms a vital function, and a routing topology may be determined forthe mesh network 300 that performs routing through routes B, C, E, andF. Using such a routing topology, nodes 305, 325, and 345 may operate asrouting nodes. By performing routing using such a routing topology,routing through node 315 that is associated with a lock and routingthrough node 335 associated with a thermostat may be avoided, based onidentifying that these nodes perform critical operations in the systemand operate only on battery power, respectively.

FIG. 4 illustrates an example routing implementation of a mesh network400, in which the mesh network 400 may be related to a system for homemonitoring or home automation. In some examples, the mesh network 400 ofFIG. 4 can feature a routed network of nodes comprising nodes associatedwith a home monitoring or home automation control panel 405, a firstswitch 415, a second switch 425, a thermostat 435, and a lock 445. Thenode 405 associated with a control panel may feature an AC power sourcewith battery backup, the node 415 associated with a first switch mayfeature an AC power source with an external uninterruptable powersupply, the node 425 associated with a second switch may feature only anAC power source, the node 435 associated with a thermostat may featureonly a battery power source, and the node 445 associated with a lock mayfeature only a battery power source. Based on the example mesh network400, routing topologies addressing mesh network resiliency may bedetermined. For example, routing topologies for the mesh network 400 mayenable the control panel associated with the node 405 to communicatewith one or more of the nodes 415, 425, 435, and/or 445.

For example, mesh network 400 may be programmed with a set of tworouting topologies and may be capable of determining the power state ofmesh network 400. In this example, mesh network 400 may be programmed insuch a way that, when AC power is available to the mesh network 400,routing in mesh network 400 may occur through nodes 405, 415, and 425.In this instance, the routing of mesh network 400 may be selected inorder to minimize battery power usage at nodes 435 and 445, since bothof these nodes may be associated with components identified as criticalcomponents, for example, a lock and/or a thermostat. Additionally, theexample mesh network 400 may be programmed in such a way that, when themesh network 400 determines that AC power is not available, routing inmesh network 400 may occur using nodes 405 and 415 or alternativelyusing another routing topology that utilizes critical nodes 435 or 445as routing nodes, for example, through nodes 405, 415, and 435. Sincenode 425 associated with a second switch is only AC powered, this nodewill not be active when the mesh network 400 is in a state in which ACpower is not available. In some examples. routing using battery powerednodes 435 and/or 445 that are identified as critical nodes is stillavoided when AC power is not available, in order to minimize power usageat nodes of the mesh network 400 that are identified as critical nodes.

According to another implementation, mesh network 400 may be capable ofdynamically rediscovering potential mesh network topologies upondetecting a change of the power state of the mesh network 400. Forexample, mesh network 400 may be routed using any number of topologieswhile mesh network 400 is in a system state in which AC power isavailable. For example, mesh network 400 may have AC power available andmay be routed through nodes 405, 415, and 425 and through routes A, B,H, and G, or may be routed in another way. Upon determining that themesh network 400 has entered a state in which AC power is not available,the mesh network 400 may dynamically reroute the mesh network 400. Forexample, a rediscovery process initialized based on determining that ACpower is no longer available may determine that node 405 associated witha control panel is a possible routing node since it is equipped with abackup battery power source and that node 415 is a possible routing nodesince it is equipped with an external uninterruptable power supply.Based on determining that the nodes 405 and 415 are potential routingnodes, the mesh network 400 may utilize nodes 405 and/or 415 to routedata from node 435 to node 445, for example, by routing data from node435 to node 445 through data routes D and E, or data routes H, A, and E.

According to some implementations, mesh network 400 may determine thatan AC power failure has occurred based on messages transmitted by one ormore of the nodes of mesh network 400 and a voting process. For example,when a power failure event occurs, node 405 may transmit a messageindicating that a power failure may have taken place. In response tothis message, the node 415 associated with a first switch may transmit amessage reporting that a power failure has not occurred, since the nodeis equipped with an external uninterruptable power supply and thus willnot detect the power failure. However, node 425 associated with a secondswitch and equipped only with an AC power source will not be functionalif a power failure event occurs, and thus will not transmit any messagesin response to the message transmitted by node 405. Using a votingprocess, the mesh network 400 may determine that a power failure eventhas occurred based on node 425 not responding to the message reportingthe power failure and based on the node 415 featuring an externaluninterruptable power supply reporting that a power failure event hasnot occurred. In response to determining that an AC power failure hasoccurred, a rediscovery process may be initialized that dynamicallydetermines an alternative routing topology for mesh network 400 bycoordinating messages to all of the nodes of the mesh network 400,identifying which nodes are operational, and defining a routing topologythat maximizes communication within the mesh network 400 whileminimizing routing through critical nodes.

The described systems, methods, and techniques may be implemented indigital electronic circuitry, computer hardware, firmware, software, orin combinations of these elements. Apparatus implementing thesetechniques may include appropriate input and output devices, a computerprocessor, and a computer program product tangibly embodied in amachine-readable storage device for execution by a programmableprocessor. A process implementing these techniques may be performed by aprogrammable processor executing a program of instructions to performdesired functions by operating on input data and generating appropriateoutput. The techniques may be implemented in one or more computerprograms that are executable on a programmable system including at leastone programmable processor coupled to receive data and instructionsfrom, and to transmit data and instructions to, a data storage system,at least one input device, and at least one output device. Each computerprogram may be implemented in a high-level procedural or object-orientedprogramming language, or in assembly or machine language if desired; andin any case, the language may be a compiled or interpreted language.Suitable processors include, by way of example, both general and specialpurpose microprocessors. Generally, a processor will receiveinstructions and data from a read-only memory and/or a random accessmemory. Storage devices suitable for tangibly embodying computer programinstructions and data include all forms of non-volatile memory,including by way of example semiconductor memory devices, such asErasable Programmable Read-Only Memory (EPROM), Electrically ErasableProgrammable Read-Only Memory (EEPROM), and flash memory devices;magnetic disks such as internal hard disks and removable disks;magneto-optical disks; and Compact Disc Read-Only Memory (CD-ROM). Anyof the foregoing may be supplemented by, or incorporated in,specially-designed ASICs (application-specific integrated circuits).

It will be understood that various modifications may be made. Forexample, other useful implementations could be achieved if steps of thedisclosed techniques were performed in a different order and/or ifcomponents in the disclosed systems were combined in a different mannerand/or replaced or supplemented by other components. Accordingly, otherimplementations are within the scope of the disclosure.

What is claimed is:
 1. A method for providing mesh network resiliencycomprising: providing, to one or more first nodes of a mesh networkassociated with a monitoring or automation system located in a property,routing data that indicates routing responsibilities for the one or morefirst nodes within a first routing configuration for the mesh network,wherein the one or more first nodes of the mesh network are associatedwith one or more sensors that sense attributes of the property or one ormore devices that perform automated functionality for the property, andthe first routing configuration being appropriate at a time during whicha first power source that powers multiple nodes of the mesh network isavailable; designating a particular node of the one or more first nodesof the mesh network as a coordinator node, wherein the particular nodedesignated as the coordinator node is capable of detecting aninterruption of the first power source and features a second powersource that is different than the first power source; detecting, by theparticular node designated as the coordinator node, an interruption ofthe first power source for the mesh network; determining a secondrouting configuration for one or more second nodes of the mesh networkthat include the particular node designated as the coordinator node, thesecond routing configuration being appropriate at a time during whichthe first power source that powers multiple nodes of the mesh network isunavailable; providing, to the one or more second nodes of the meshnetwork, routing data that indicates routing responsibilities for theone or more second nodes within the second routing configuration for themesh network, wherein each of the one or more second nodes of the meshnetwork include a second power source that is different than the firstpower source; and providing, by the particular node designated as thecoordinator node and in response to the particular node designated asthe coordinator node detecting the interruption of the first powersource for the mesh network, one or more messages to the one or moresecond nodes of the mesh network indicating the interruption of thefirst power source for the mesh network, wherein receipt of a messagefrom the particular node designated as the coordinator node indicatingthe interruption of the first power source for the mesh network causesthe one or more second nodes of the mesh network to route data accordingto the second routing configuration for the mesh network.
 2. The methodof claim 1, wherein the first routing configuration for the mesh networkand the second routing configuration for the mesh network are each oneof a Z-Wave network, a ZigBee network, an IPv6 over Low Power WirelessPersonal Area Network (6LoWPAN), a Bluetooth network, or an INSTEONnetwork.
 3. The method of claim 1, wherein: detecting the interruptionof the first power source for the mesh network comprises detecting, bythe particular node designated as the coordinator node, an interruptionof an alternating current (AC) power source for the mesh network; anddetermining the second routing configuration for the one or more secondnodes of the mesh network comprises determining a second routingconfiguration for one or more nodes of the mesh network that eachinclude at least one of a battery power source or an externaluninterruptable power supply power source.
 4. The method of claim 1,wherein determining the second routing configuration for the one or moresecond nodes of the mesh network comprises: identifying one or morenodes of the mesh network that include a second power source that isdifferent than the first power source; determining data routing pathsfor the one or more nodes of the mesh network that include a secondpower source that is different than the first power source, wherein thedata routing paths for the one or more nodes of the mesh network thatinclude a second power source that is different than the first powersource each include one or more nodes of the mesh network that include asecond power source that is different than the first power source; andstoring the data routing paths for the one or more nodes of the meshnetwork that include a second power source that is different than thefirst power source in a routing table.
 5. The method of claim 1,wherein: providing the routing data that indicates routingresponsibilities for the one or more first nodes within the firstrouting configuration for the mesh network comprises providing a firstrouting table to the one or more first nodes of the mesh network; andproviding the routing data that indicates routing responsibilities forthe one or more second nodes within the second routing configuration forthe mesh network comprises providing a second routing table to the oneor more second nodes of the mesh network.
 6. The method of claim 1,wherein at least one of the one or more first nodes of the mesh networkis identified as a critical node and at least one of the one or morefirst nodes of the mesh network is identified as a routing node, whereinrouting nodes are nodes responsible for routing data in the mesh networkwithin the first routing configuration, and wherein any of the one ormore first nodes of the mesh network that is identified as a criticalnode is not also identified as a routing node.
 7. The method of claim 1,wherein at least one of the one or more second nodes of the mesh networkis identified as a critical node and at least one of the one or moresecond nodes of the mesh network is identified as a routing node,wherein routing nodes are nodes responsible for routing data in the meshnetwork within the second routing configuration, and wherein any of theone or more second nodes of the mesh network that is identified as acritical node is not also identified as a routing node.
 8. The method ofclaim 7, comprising: determining that the second routing configurationfor the mesh network results in a disjointed mesh network; based on thedetermination that the second routing configuration for the mesh networkresults in a disjointed mesh network, identifying one or more of the atleast one critical nodes that enable a fully jointed mesh network ifused as routing nodes; updating the second routing configuration toinclude the identified one or more of the at least one critical nodes asrouting nodes; and providing, to the one or more second nodes of themesh network, routing data that indicates routing responsibilities forthe one or more second nodes within the updated second routingconfiguration for the mesh network.
 9. The method of claim 1,comprising: detecting, by the particular node designated as thecoordinator node, an interruption of the second power source at aparticular one of the one or more second nodes of the mesh network;determining, in response to detecting the interruption of the secondpower source at the particular one of the one or more second nodes ofthe mesh network, a third routing configuration for one or more thirdnodes of the mesh network that include the particular node designated asthe coordinator node, the second routing configuration not including theparticular one of the one or more second nodes of the mesh network; andproviding, to the one or more third nodes of the mesh network, routingdata that indicates routing responsibilities for the one or more thirdnodes within the third routing configuration for the mesh network.
 10. Asystem comprising: at least one processor; and at least one memorycoupled to the at least one processor having stored thereon instructionswhich, when executed by the at least one processor, causes the at leastone processor to perform operations comprising: providing, to one ormore first nodes of a mesh network associated with a monitoring orautomation system located in a property, routing data that indicatesrouting responsibilities for the one or more first nodes within a firstrouting configuration for the mesh network, wherein the one or morefirst nodes of the mesh network are associated with one or more sensorsthat sense attributes of the property or one or more devices thatperform automated functionality for the property, and the first routingconfiguration being appropriate at a time during which a first powersource that powers multiple nodes of the mesh network is available;designating a particular node of the one or more first nodes of the meshnetwork as a coordinator node, wherein the particular node designated asthe coordinator node is capable of detecting an interruption of thefirst power source and features a second power source that is differentthan the first power source; detecting, by the particular nodedesignated as the coordinator node, an interruption of the first powersource for the mesh network; determining a second routing configurationfor one or more second nodes of the mesh network that include theparticular node designated as the coordinator node, the second routingconfiguration being appropriate at a time during which the first powersource that powers multiple nodes of the mesh network is unavailable;providing, to the one or more second nodes of the mesh network, routingdata that indicates routing responsibilities for the one or more secondnodes within the second routing configuration for the mesh network,wherein each of the one or more second nodes of the mesh network includea second power source that is different than the first power source; andproviding, by the particular node designated as the coordinator node andin response to the particular node designated as the coordinator nodedetecting the interruption of the first power source for the meshnetwork, one or more messages to the one or more second nodes of themesh network indicating the interruption of the first power source forthe mesh network, wherein receipt of a message from the particular nodedesignated as the coordinator node indicating the interruption of thefirst power source for the mesh network causes the one or more secondnodes of the mesh network to route data according to the second routingconfiguration for the mesh network.
 11. A method for providing meshnetwork resiliency comprising: determining a first routing configurationfor one or more nodes of a mesh network associated with a monitoring orautomation system located in a property, the one or more nodes of themesh network being associated with one or more sensors that senseattributes of the property and one or more devices that performautomated functionality for the property, and the first routingconfiguration being appropriate at a time during which a first powersource that powers multiple nodes of the mesh network is available;providing, to one or more first nodes of the mesh network, routing datathat indicates routing responsibilities within the first routingconfiguration for the mesh network; detecting, by one or more nodes ofthe mesh network, an interruption of the first power source for the meshnetwork; determining, in response to detecting the interruption of thefirst power source for the mesh network, a second routing configurationfor nodes of the mesh network, the second routing configuration beingappropriate at a time during which the first power source that powersmultiple nodes of the mesh network is unavailable; providing, to one ormore second nodes of the mesh network, routing data that indicatesrouting responsibilities within the second routing configuration for themesh network, each of the one or more second nodes including a secondpower source that is different than the first power source; detecting,for a particular node of the one or more second nodes of the meshnetwork, an interruption of the second power source that is differentthan the first power source; and in response to detecting theinterruption of the second power source for the particular node,preventing transmission of messages to the particular node according tothe second routing configuration.
 12. The method of claim 11, whereinthe first routing configuration for the mesh network and the secondrouting configuration for the mesh network are each one of a Z-Wavenetwork, a ZigBee network, an IPv6 over Low Power Wireless Personal AreaNetwork (6LoWPAN), a Bluetooth network, or an INSTEON network.
 13. Themethod of claim 11, wherein: detecting the interruption of the firstpower source for the mesh network comprises detecting, by one or morenodes of the mesh network, an interruption of an alternating current(AC) power source for the mesh network; and determining the secondrouting configuration for the mesh network comprises detecting a secondrouting configuration for nodes of the mesh network that each include atleast one of a battery power source or an external uninterruptable powersupply power.
 14. The method of claim 11, wherein determining the secondrouting configuration for the mesh network comprises: identifying one ormore nodes of the mesh network that include a second power source thatis different than the first power source; determining data routing pathsfor the one or more nodes of the mesh network that include a secondpower source that is different than the first power source, wherein thedata routing paths for the one or more nodes of the mesh network thatinclude a second power source that is different than the first powersource each include one or more nodes of the mesh network that include asecond power source that is different than the first power source; andstoring the data routing paths for the one or more nodes of the meshnetwork that include a second power source that is different than thefirst power source in a routing table.
 15. The method of claim 11,wherein: providing the routing data that indicates routingresponsibilities within the first routing configuration for the meshnetwork to the one or more first nodes of the mesh network comprisesproviding a first routing table to the one or more first nodes of themesh network; and providing the routing data that indicates routingresponsibilities within the second routing configuration for the meshnetwork to the one or more second nodes of the mesh network comprisesproviding a second routing table to the one or more second nodes of themesh network.
 16. The method of claim 11, comprising: determining thatpreventing transmission of messages to the particular node according tothe second routing configuration results in a disjointed mesh network;based on the determination that preventing transmission of messages tothe particular node according to the second configuration results in adisjointed mesh network, identifying one or more of the second nodes ofthe mesh network that enable a fully jointed mesh network if used asrouting nodes, wherein routing nodes are nodes responsible for routingdata in the mesh network; updating the second routing configuration toinclude the identified one or more of the second nodes of the meshnetwork as routing nodes; and providing, to the one or more second nodesof the mesh network, routing data that indicates routingresponsibilities for the one or more of the second nodes of the meshnetwork within the updated second routing configuration for the meshnetwork.
 17. The method of claim 11, comprising: determining, inresponse to detecting the interruption of the second power source thatis different than the first power source for the particular node of theone or more second nodes of the mesh network, a third routingconfiguration for nodes of the mesh network, the third routingconfiguration being appropriate at a time during which the first powersource that powers multiple nodes of the mesh network is unavailable andthe second power source that is different than the first power source isunavailable for the particular node; and providing, to one or more thirdnodes of the mesh network, routing data that indicates routingresponsibilities within the third routing configuration of the meshnetwork, each of the one or more third nodes including the second powersource that is different than the first power source.
 18. The method ofclaim 11, wherein detecting the interruption of the first power sourcefor the mesh network comprises: identifying one or more nodes of themesh network as coordinator nodes; and detecting the interruption of thefirst power source for the mesh network by one or more of thecoordinator nodes.
 19. The method of claim 11, wherein detecting theinterruption of the first power source for the mesh network comprises:receiving, from each of one or more nodes of the mesh network, a voteindicating whether the node of the mesh network has detected aninterruption of the first power source for the mesh network; anddetecting the interruption of the first power source for the meshnetwork based on the votes received from the one or more nodes of themesh network each indicate whether a node of the mesh network hasdetected an interruption of the first power source for the mesh network.20. A system comprising: at least one processor; and at least one memorycoupled to the at least one processor having stored thereon instructionswhich, when executed by the at least one processor, causes the at leastone processor to perform operations comprising: determining a firstrouting configuration for one or more nodes of a mesh network associatedwith a monitoring or automation system located in a property, the one ormore nodes of the mesh network being associated with one or more sensorsthat sense attributes of the property and one or more devices thatperform automated functionality for the property, and the first routingconfiguration being appropriate at a time during which a first powersource that powers multiple nodes of the mesh network is available;providing, to one or more first nodes of the mesh network, routing datathat indicates routing responsibilities within the first routingconfiguration for the mesh network; detecting, by one or more nodes ofthe mesh network, an interruption of the first power source for the meshnetwork; determining, in response to detecting the interruption of thefirst power source for the mesh network, a second routing configurationfor nodes of the mesh network, the second routing configuration beingappropriate at a time during which the first power source that powersmultiple nodes of the mesh network is unavailable; providing, to one ormore second nodes of the mesh network, routing data that indicatesrouting responsibilities within the second routing configuration for themesh network, each of the one or more second nodes including a secondpower source that is different than the first power source; detecting,for a particular node of the one or more second nodes of the meshnetwork, an interruption of the second power source that is differentthan the first power source; and in response to detecting theinterruption of the second power source for the particular node,preventing transmission of messages to the particular node according tothe second routing configuration.